package com.ruoyi.system.service;

import java.util.ArrayList;
import java.util.List;
import com.ruoyi.system.domain.SegUploadDetail;
import com.ruoyi.system.domain.arcus.ArcusUser;

/**
 * (测试)上传表Service接口
 *
 * @author ruoyi
 * @date 2022-12-26
 */
public interface ISegUploadDetailService
{
    /**
     * 读取某个用户下的所有upload token
     */
    public List<String> selectUploadTokenByUserId(Long userId);


    /**
     * 用户名id转换函数
     */
    public ArcusUser userInfoConvert(String userName, boolean n2i);

    /**
     * 批量插入服务
     */
    public String uploadInfoInsertMulti(Long userId, String uploadToken, ArrayList<String> imgList);

    /**
     * 查询(测试)上传表
     *
     * @param id (测试)上传表主键
     * @return (测试)上传表
     */
    public SegUploadDetail selectSegUploadDetailById(Long id);

    /**
     * 查询(测试)上传表列表
     *
     * @param segUploadDetail (测试)上传表
     * @return (测试)上传表集合
     */
    public List<SegUploadDetail> selectSegUploadDetailList(SegUploadDetail segUploadDetail);

    /**
     * 新增(测试)上传表
     *
     * @param segUploadDetail (测试)上传表
     * @return 结果
     */
    public int insertSegUploadDetail(SegUploadDetail segUploadDetail);

    /**
     * 修改(测试)上传表
     *
     * @param segUploadDetail (测试)上传表
     * @return 结果
     */
    public int updateSegUploadDetail(SegUploadDetail segUploadDetail);

    /**
     * 批量删除(测试)上传表
     *
     * @param ids 需要删除的(测试)上传表主键集合
     * @return 结果
     */
    public int deleteSegUploadDetailByIds(Long[] ids);

    /**
     * 删除(测试)上传表信息
     *
     * @param id (测试)上传表主键
     * @return 结果
     */
    public int deleteSegUploadDetailById(Long id);
}
